package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dts_config")
public class DtsConfig implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 配置规则类型
     */
    @TableField(value = "`type`")
    private String type;

    /**
     * 配置规则代码
     */
    @TableField(value = "`code`")
    private String code;

    /**
     * 配置规则名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 配置规则描述
     */
    @TableField(value = "`desc`")
    private String desc;

    /**
     * 配置值
     */
    @TableField(value = "`value`")
    private String value;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    private static final long serialVersionUID = 1L;
}